<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
</head>
<style type="text/css">
	.input 
	{
		border: 1px solid #eaeaea;
		background-color: #6d654e;
		color: #fff;
		text-align: center;
		padding: 0px 10px -1px;
		border-radius: 4px;
	}
</style>
<body>
<div class="invest_table">
	<table id="invest_table" title="Client Side Pagination" style="width:100%;height:372px;" 
		data-options="
			rownumbers:true,
			singleSelect:true,
			autoRowHeight:false,
			pagination:true,
			pageSize:10,toolbar:'#tb'
		"
	>
		<thead>
			<tr>
				<th field="invest_id" width="7%" align="center">投资编号</th>
				<th field="invest_title" width="10%" align="center">投资标题</th>
				<th field="invest_total_amount" width="10%" align="center">总金额</th>
				<th field="invest_rate" width="7%" align="center">利率</th>
				<th field="active_time" width="7%" align="center">有效时间</th>
				<th field="invest_time_limit" width="10%" align="center">投资期限</th>
				<th field="invest_number" width="10%" align="center">参投人数</th>
				<th field="invest_money" width="10%" align="center">已投金额</th>
				<th field="invest_status_name" width="10%" align="center">状态</th>
				<th field="action" width="18%" align="center" formatter="formatAction">操作</th>
			</tr>
		</thead>
	</table>
</div>
<div id="tb" style="padding:5px;height:auto">
    <div style="margin-bottom:5px" id="tb_button">
        <!--<a href="javascript:;" onclick="invest_add();" class="easyui-linkbutton" iconCls="icon-add" plain="true">新建</a>
        <a href="javascript:;" onclick="invest_see();" class="easyui-linkbutton" iconCls="icon-man" plain="true">详情</a>-->
    </div>
	<form action="../../invest/invest/invest_manage" method="post" id="searchTable">
		<div>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;投资编号: <input class="easyui-textbox" id="numSelect" name="numSelect" value="{$search_array.numSelect}" style="width:120px">&nbsp;&nbsp;&nbsp;&nbsp;
			投资类型: 
			<select class="easyui-combobox selector" id="typeSelect" name="typeSelect" panelHeight="auto" style="width:100px" data-options="editable:false">
				<option value="">请选择</option>
				<option value="1">服务类</option>
				<option value="3">幸运星</option>
			</select>&nbsp;&nbsp;&nbsp;&nbsp;
			<script type="text/javascript">$("#typeSelect").find("option[value='{$search_array.typeSelect}']").attr("selected",true);</script>
			投资状态: 
			<select class="easyui-combobox selector" id="markSelect" name="markSelect" panelHeight="auto" style="width:100px" data-options="editable:false">
				<option value="">请选择</option>
				<option value="2">进行中</option>
				<option value="1">满标</option>
				<option value="3">失效</option>
			</select>&nbsp;&nbsp;&nbsp;&nbsp;
			<script type="text/javascript">$("#markSelect").find("option[value='{$search_array.markSelect}']").attr("selected",true);</script>
			<a href="javascript:;" onclick="submitSearch();" class="easyui-linkbutton" iconCls="icon-search">查询</a>&nbsp;&nbsp;
			<a href="javascript:;" onclick="resetSearch();" class="easyui-linkbutton" iconCls="icon-clear">重置</a>&nbsp;&nbsp;
		</div>
	</form>
</div>

<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/button.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/invest/invest_manage.js"></script>
<script type="text/javascript">
	$(function() 
	{
		var json='{$invest_json}';
		var array=eval('('+json+')');
		$('#invest_table').datagrid({loadFilter:pagerFilter}).datagrid('loadData', array);
	});
</script>
</body>
</html>